/************************************************************************************
* This file contains some configurations, which alter the appearance or functionality 
* of the gadget
************************************************************************************/

var config = {};
config.image_str = "images/";
config.msn_str = "http://msnwidget.googlecode.com/svn/trunk/gadget2/images/msn.png";
config.weather_image_str = config.image_str + "weather/";
config.bg_color = new Array("#000000", "#151530", "#1b0041", "#A66200", "#500000", "#004006", "#740062"
                          , "#283a19", "#7e3b00", "#006654", "#2a2318", "#2c5876");
config.bg_color2 = new Array("CCCCCC", "6DC0fB", "964df5", "ffC640", "d90000", "9eDfAd", "ebb5ff"
                          , "cef7ca", "ffa555", "55ffe5", "c6ae84", "9ad0fd");
                          
config.downloadLink = "http://gallery.live.com/";
config.toolbarLink = "http://www.msn.de/toolbar/";

config.trackingURL = "http://estj.msn.com/br/om/js/s_code.js";
config.share_email_url = "http://www.addthis.com/tellfriend.php";
config.share_facebook_url = "http://www.addthis.com/bookmark.php";
config.share_twitter_url = "http://www.addthis.com/bookmark.php";
config.share_pub = "bigmouthmedia";
config.share_lng = "de";
var s_account = "";

config.news = {};

//How many newsitems are shown in the undocked state
config.news.limit_undocked = 5;

//How many newsitems are shown in the docked state
config.news.limit_docked = 5;

//The height of a single newsitem in undocked state
config.news.height = 30;

//The height of a single newsitem in docked state
config.news.height_docked = 20;

//The top-margin of the newsitems, in the docked state
config.news.top_docked = 19;

//The top-margin of the newsitems, in the undocked state
config.news.top_undocked = 30;

//The color of a newsitem, when it has no focus
config.news.hl_color = "#faaa";

//The color of a newsitem, when it has focus
config.news.hl_color_focus = "#feee";

//If true, the flyout opens by mouseover, otherwise with a mouseclick
config.news.mouseover = false;

//The time in milliseconds, which lies between the news-cycles
config.news.cycletime = 30000;

config.video = {};
config.video.small_top = -10;

//The deafult-weather
config.weather = {};
config.weather.defaultCode = "wc:GMXX0007";
config.weather.defaultName = "Berlin";

//The time in minutes where the weather is refreshed
config.weather.refreshTime = 15;

config.searchbar = {};
config.searchbar.itemWidth = 45.5;
config.searchbar.itemWidth_docked = 38;
config.searchbar.itemSpace = 2.6;
config.searchbar.itemSpace_docked = 1.6;

config.share = {};
config.share.emailURL = "http://www.addthis.com/tellfriend.php?tofriend={TOFRIEND}"
    +"&fromemail={FROMEMAIL}&pub=bigmouthmedia&source=tbx-250&lng=de&url={URL}"
    +"&s=e&adt=1&fromname=aaa";
config.share.twitterURL = "http://www.addthis.com/bookmark.php?title={TITLE}"
    +"&pub=bigmouthmedia&source=tbx-250&lng=de&url={URL}&s=twitter"
    +"&adt=1&v=250";
config.share.facebookURL = "http://www.addthis.com/bookmark.php?title={TITLE}"
    +"&pub=bigmouthmedia&source=tbx-250&lng=de&url={URL}&s=facebook"
    +"&adt=1&v=250";